xenstore: let command functions return error or success
authorJuergen Gross <jgross@suse.com>
Mon, 5 Dec 2016 07:48:49 +0000 (08:48 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 5 Dec 2016 11:31:40 +0000 (11:31 +0000)
commit46271e3ccd4fb8493ba1e3c1102b9f8803e54e6d
treef897c3797d205057df72f6fd6c9590af85e071cc
parent5363347055bef067970c549bf87ee7149b170c01
xenstore: let command functions return error or success

Add a return value to all wire command functions of xenstored. If such
a function returns an error send the error message in
process_message().

Only code refactoring, no change in behavior expected.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_domain.c
tools/xenstore/xenstored_domain.h
tools/xenstore/xenstored_transaction.c
tools/xenstore/xenstored_transaction.h
tools/xenstore/xenstored_watch.c
tools/xenstore/xenstored_watch.h